home *** CD-ROM | disk | FTP | other *** search
/ CICA 1993 April / CICA MS Windows - April 1993.iso / unzipped / programr / bcpp / mksym / mksym.txt < prev   
Text File  |  1992-09-01  |  1KB  |  30 lines

  1. *** How to make a valid symbol file (*.SYM) from a BCPP map file. ***
  2.  
  3. The format of the map file generated by BCPP compiler is not compatible
  4. with the Microsoft MAPSYM utility. Although MAPSYM runs without errors
  5. the generated symbol file has incorect segment information, wrong program
  6. entry point and, worst of all, imported functions appear as public symbols
  7. in an invalid segment.
  8.  
  9. The submited utility MKSYM.BAT uses awk to convert the format of the BCPP
  10. map file and then calls MAPSYM to generate a valid symbol file.
  11.  
  12. The map2map.awk script does the following:
  13.     - reareanges the column spacing of the segment table
  14.     - adds a Group entry for DGROUP 
  15.       (assumes that the segment # of DGROUP will be the highest #
  16.        encountered in the segment table... should be a safe bet!)
  17.     - adds a "Program Entry Point 0001:0000" entry which is usually 
  18.       the case for BCPP compiled programs
  19.  
  20. The script has been tested with MKS awk on BCPP 3.0 map files and MAPSYM 4.11
  21. The symbol files work fine with Dr.Watson, HeapWalker, CVW, etc
  22.  
  23. Occasionally MAPSYM 4.11 hangs when ran on a DOS Window, but that seems to
  24. have nothing to do with MKSYM.
  25.  
  26. Good luck using MKSYM. (No Guaranties, No Warranties, Provided AS IS, etc)
  27.  
  28. Feedback welcome on: gkar@leon.nrcps.ariadne-t.gr (143.233.2.1)
  29.                      George Karouzos
  30.